<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:p="http://primefaces.org/ui">
<h:head>
    <title>IHK-Aufgabensystem</title>
</h:head>
<h:body>
    <h:graphicImage id="loginlogo" alt="Logo" url="images/braunschweig.jpg">
    </h:graphicImage>
    <h:form>
        <p:growl id="messages" />
        <p:menubar autoDisplay="false">
            <p:submenu label="Menu">
                <p:menuitem value="Hauptmenu" url="hauptmenu.xhtml" />
                <p:menuitem value="Tests" url="tests.xhtml" />
                <p:menuitem value="Bearbeiter" url="bearbeiter.xhtml" />
                <p:menuitem value="Studenten" url="studenten.xhtml" />
                <p:menuitem value="Admins" url="admins.xhtml" update=":growl" />
            </p:submenu>
            <p:submenu label="Account" icon="ui-icon-gear">
                <p:menuitem value="Ausloggen" actionListener="#{loginBean.logout}" />
            </p:submenu>
        </p:menubar>
    </h:form>
    <ui:insert />
</h:body>
</html>